package design.pattern.decorator;

public class JavaStudentDecorator implements Iwork {

    private Iwork iwork;

    public JavaStudentDecorator(Iwork iwork) {
        this.iwork = iwork;
    }

    @Override
    public String work() {
        return iwork.work()+"java";
    }
}
